/**
 * AgentCommissionBill
 * Copyright © 2015 - 2017 
 * All rights reserved.
 * -----------------------------------
 * 2018-04-27  Created
 */
package com.lzy.product.entity;

import com.lzy.framework.template.BaseDomain;
import java.math.BigDecimal;

/**
 * Description: AgentCommissionBill
 * Author: mybatis-generator
 * Version: 1.0 
 * Create Date Time: 2018-04-27
 * Update Date Time: 
 * @see 'http://www.lzyhll.com'
 */
public class AgentCommissionBill extends BaseDomain {
    /**
     * ID
     */
    private Long id;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 2.1member_user的会员id
     */
    private Long memberId;

    /**
     * 用户名
     */
    private String name;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 资源id（协议id或产品id）
     */
    private Long sourceId;

    /**
     * 1-协议首次分佣 2-产品销售分佣
     */
    private Integer type;

    /**
     * 分佣金额
     */
    private BigDecimal amount;

    private String createTime;

    private String updateTime;

    private Boolean deleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Long getSourceId() {
        return sourceId;
    }

    public void setSourceId(Long sourceId) {
        this.sourceId = sourceId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }
}